package me.zhengjie.sqlservice;

import com.baomidou.mybatisplus.extension.service.IService;
import me.zhengjie.pojo.entity.WcsInboundAbnormalMission;

import java.util.List;

public interface WcsInboundAbnormalMissionService extends IService<WcsInboundAbnormalMission> {
    boolean insertAbnormal(WcsInboundAbnormalMission wcsInboundAbnormalMission);

    List<WcsInboundAbnormalMission> selectContainerCode(String threeCode);

    boolean updateMissionStatus(String taskCode, Integer missionStatus);

    WcsInboundAbnormalMission selectInboundAbnormalCode(String abnormalCode);

    boolean updateAbnormalStatusAndAgvId(Integer id, Integer missionStatus, String agvId);

    List<WcsInboundAbnormalMission> selectMissionStatus(Integer status);
}
